package com.fr.funglisoftproduction.flanders.database;

public class Order
{
	private String _colonne;
	public String GetColonne()
	{
		return _colonne;
	}
	
	public enum TypeOrder
	{
		ASC,
		DESC
	}
	private TypeOrder _typeOrder;
	public TypeOrder GetTypeOrder()
	{
		return _typeOrder;
	}
	
	public Order(String colonne, TypeOrder type)
	{
		_colonne = colonne;
		_typeOrder = type;
	}
	
	@Override
	public String toString()
	{
		return _colonne + " " + _typeOrder.name();
	}
}
